package com.itheima.service.impl;

import com.itheima.dao.RecordDao;
import com.itheima.pojo.Record;
import com.itheima.service.RecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Administrator
 * @TIME 2020/7/9 2:02
 * @description
 */
@Service
public class RecordServiceImpl implements RecordService {
    @Autowired
    private RecordDao recordDao;
    @Override
    @Transactional()
    public void save(Record record) {
        recordDao.save(record);
    }
}
